home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AppleScript / Development Tools / Sample Code / MenuScripter / Sources / MenuScripter.r < prev    next >
Encoding:
Text File  |  1994-02-25  |  57.9 KB  |  2,472 lines  |  [TEXT/MPS ]

  1. #define mApple  128
  2. #define mFile   129
  3. #define mEdit   130
  4. #define mFont   131
  5. #define mSize   132
  6. #define mStyle  133
  7. #define mScript 134
  8.  
  9. #define kPrefSize    500
  10. #define kMinSize    500
  11.  
  12.  
  13. #include "Types.r"
  14. #include "SysTypes.r"
  15. #include "BalloonTypes.r"
  16. #include "AEUserTermTypes.r"
  17. #include "AERegistry.r"
  18. #include "AEObjects.r"
  19. #include "AppleEvents.r"
  20.  
  21. data 'SCPT' (mFile*32+4){
  22. "tell application \"MenuScripter\" \n"
  23. "close window 1\n"
  24. "end tell"
  25. };
  26.  
  27.  
  28. data 'SCPT' (mEdit*32+3){
  29. "tell application \"MenuScripter\" \n"
  30. "Cut\n"
  31. "end tell"
  32. };
  33.  
  34. data 'SCPT' (mEdit*32+4){
  35. "tell application \"MenuScripter\" \n"
  36. "Copy\n"
  37. "end tell"
  38. };
  39.  
  40. data 'SCPT' (mEdit*32+5){
  41. "tell application \"MenuScripter\" \n"
  42. "Paste\n"
  43. "end tell"
  44. };
  45.  
  46. data 'SCPT' (mEdit*32+6){
  47. "tell application \"MenuScripter\" \n"
  48. "Copy selection of window 1 to usersel\n"
  49. "Delete usersel"
  50. "end tell"
  51. };
  52.  
  53. data 'SCPT' (mEdit*32+7){
  54. "tell application \"MenuScripter\" \n"
  55. "set the selection of window 1 to ((character 1 thru 32767) of Window 1)\n"
  56. "end tell"
  57. };
  58.  
  59. data 'SCPT' (mEdit*32+9){
  60. "tell application \"MenuScripter\" \n"
  61. "copy selection of window 1 to usersel\n"
  62. "Create Publisher usersel\n"
  63. "end tell"
  64. };
  65.  
  66. data 'SCPT' (mEdit*32+12){
  67. "tell application \"MenuScripter\" \n"
  68. "set bordersvis to the show borders of window 1\n"
  69. "set bordersvis to not bordersvis\n"
  70. "set the show borders of window 1 to bordersvis\n"
  71. "end tell"
  72. };
  73.  
  74. data 'SCPT' (mFile*32+1){
  75. "tell application \"MenuScripter\" \n"
  76. "Make Window\n"
  77. "end tell"
  78. };
  79.  
  80. data 'SCPT' (mFile*32+4){
  81. "tell application \"MenuScripter\" \n"
  82. "Close Window 1\n"
  83. "end tell"
  84. };
  85.  
  86. data 'SCPT' (mFile*32+10){
  87. "tell application \"MenuScripter\" \n"
  88. "Print window 1\n"
  89. "end tell"
  90. };
  91.  
  92. data 'SCPT' (mFile*32+12){
  93. "tell application \"MenuScripter\" \n"
  94. "Quit Application\n"
  95. "end tell"
  96. };
  97.  
  98. data 'SCPT' (mFont*32){
  99. "tell application \"MenuScripter\" \n"
  100. "set mitem to the Active Item of Menu \"Font\" \n"
  101. "copy selection of Window 1 to usersel\n"
  102. "set fontname to the Name of Menu Item mitem of Menu \"Font\" \n"
  103. "set Font of usersel to fontname \n"
  104. "end tell"
  105. };
  106.  
  107. data 'SCPT' (mSize*32+1){
  108. "tell application \"MenuScripter\" \n"
  109. "copy selection of window 1 to usersel\n"
  110. "set size of usersel to 8\n"
  111. "end tell"
  112. };
  113.  
  114. data 'SCPT' (mSize*32+2){
  115. "tell application \"MenuScripter\" \n"
  116. "copy selection of window 1 to usersel\n"
  117. "set size of usersel to 9\n"
  118. "end tell"
  119. };
  120.  
  121. data 'SCPT' (mSize*32+3){
  122. "tell application \"MenuScripter\" \n"
  123. "copy selection of window 1 to usersel\n"
  124. "set size of usersel to 10\n"
  125. "end tell"
  126. };
  127.  
  128. data 'SCPT' (mSize*32+4){
  129. "tell application \"MenuScripter\" \n"
  130. "copy selection of window 1 to usersel\n"
  131. "set size of usersel to 12\n"
  132. "end tell"
  133. };
  134.  
  135. data 'SCPT' (mSize*32+5){
  136. "tell application \"MenuScripter\" \n"
  137. "copy selection of window 1 to usersel\n"
  138. "set size of usersel to 14\n"
  139. "end tell"
  140. };
  141.  
  142. data 'SCPT' (mSize*32+6){
  143. "tell application \"MenuScripter\" \n"
  144. "copy selection of window 1 to usersel\n"
  145. "set size of usersel to 18\n"
  146. "end tell"
  147. };
  148.  
  149. data 'SCPT' (mSize*32+7){
  150. "tell application \"MenuScripter\" \n"
  151. "copy selection of window 1 to usersel\n"
  152. "set size of usersel to 24\n"
  153. "end tell"
  154. };
  155.  
  156. data 'SCPT' (mSize*32+8){
  157. "tell application \"MenuScripter\" \n"
  158. "copy selection of window 1 to usersel\n"
  159. "set size of usersel to 36\n"
  160. "end tell"
  161. };
  162.  
  163. data 'SCPT' (mSize*32+9){
  164. "tell application \"MenuScripter\" \n"
  165. "copy selection of window 1 to usersel\n"
  166. "set size of usersel to 48\n"
  167. "end tell"
  168. };
  169.  
  170. data 'SCPT' (mSize*32+11){
  171. "tell application \"MenuScripter\" \n"
  172. "copy selection of window 1 to usersel\n"
  173. "set fontsize to the size of usersel\n"
  174. "set fontsize to fontsize+1 \n"
  175. "if fontsize=2000\n"
  176. "set fontsize to 12\n"
  177. "end if\n"
  178. "set the size of usersel to fontsize\n"
  179. "end tell"
  180. };
  181.  
  182. data 'SCPT' (mSize*32+12){
  183. "tell application \"MenuScripter\" \n"
  184. "copy selection of window 1 to usersel\n"
  185. "set fontsize to the size of usersel\n"
  186. "set fontsize to fontsize-1 \n"
  187. "if fontsize=0\n"
  188. "set fontsize to 12\n"
  189. "end if\n"
  190. "set the size of usersel to fontsize\n"
  191. "end tell"
  192. };
  193.  
  194. data 'SCPT' (mStyle*32+1){
  195. "tell application \"MenuScripter\"\n"
  196. "copy selection of window 1 to usersel\n"
  197. "set x to \{class:text style info, on styles:\{\"plan\"\}, off styles:\{\}\}\n"
  198. "set style of usersel to x\n"
  199. "end tell"
  200. };
  201.  
  202. data 'SCPT' (mStyle*32+1){
  203. "tell application \"MenuScripter\"\n"
  204. "copy selection of window 1 to usersel\n"
  205. "set x to \{class:text style info, on styles:Plain, off styles:\{\}\}\n"
  206. "copy x to style of usersel\n"
  207. "end tell"
  208. };
  209.  
  210. data 'SCPT' (mStyle*32+2){
  211. "tell application \"MenuScripter\"\n"
  212. "copy selection of window 1 to usersel\n"
  213. "copy style of usersel to selstyle\n"
  214. "if on styles of selstyle contains bold then\n"
  215. "set x to \{class:text style info, on styles:\{\}, off styles:\{bold\}\}\n"
  216. "else\n"
  217. "set x to \{class:text style info, on styles:\{bold\}, off styles:\{\}\}\n"
  218. "end if\n"
  219. "set style of usersel to x\n"
  220. "end tell"
  221. };
  222.  
  223. data 'SCPT' (mStyle*32+3){
  224. "tell application \"MenuScripter\"\n"
  225. "copy selection of window 1 to usersel\n"
  226. "copy style of usersel to selstyle\n"
  227. "if on styles of selstyle contains italic then\n"
  228. "set x to \{class:text style info, on styles:\{\}, off styles:\{italic\}\}\n"
  229. "else\n"
  230. "set x to \{class:text style info, on styles:\{italic\}, off styles:\{\}\}\n"
  231. "end if\n"
  232. "set style of usersel to x\n"
  233. "end tell"
  234. };
  235.  
  236. data 'SCPT' (mStyle*32+4){
  237. "tell application \"MenuScripter\"\n"
  238. "copy selection of window 1 to usersel\n"
  239. "copy style of usersel to selstyle\n"
  240. "if on styles of selstyle contains underline then\n"
  241. "set x to \{class:text style info, on styles:\{\}, off styles:\{underline\}\}\n"
  242. "else\n"
  243. "set x to \{class:text style info, on styles:\{underline\}, off styles:\{\}\}\n"
  244. "end if\n"
  245. "set style of usersel to x\n"
  246. "end tell"
  247. };
  248.  
  249. data 'SCPT' (mStyle*32+5){
  250. "tell application \"MenuScripter\"\n"
  251. "copy selection of window 1 to usersel\n"
  252. "copy style of usersel to selstyle\n"
  253. "if on styles of selstyle contains outline then\n"
  254. "set x to \{class:text style info, on styles:\{\}, off styles:\{outline\}\}\n"
  255. "else\n"
  256. "set x to \{class:text style info, on styles:\{outline\}, off styles:\{\}\}\n"
  257. "end if\n"
  258. "set style of usersel to x\n"
  259. "end tell"
  260. };
  261.  
  262. data 'SCPT' (mStyle*32+6){
  263. "tell application \"MenuScripter\"\n"
  264. "copy selection of window 1 to usersel\n"
  265. "copy style of usersel to selstyle\n"
  266. "if on styles of selstyle contains shadow then\n"
  267. "set x to \{class:text style info, on styles:\{\}, off styles:\{shadow\}\}\n"
  268. "else\n"
  269. "set x to \{class:text style info, on styles:\{shadow\}, off styles:\{\}\}\n"
  270. "end if\n"
  271. "set style of usersel to x\n"
  272. "end tell"
  273. };
  274.  
  275. data 'SCPT' (mStyle*32+7){
  276. "tell application \"MenuScripter\"\n"
  277. "copy selection of window 1 to usersel\n"
  278. "copy style of usersel to selstyle\n"
  279. "if on styles of selstyle contains condensed then\n"
  280. "set x to \{class:text style info, on styles:\{\}, off styles:\{condensed\}\}\n"
  281. "else\n"
  282. "set x to \{class:text style info, on styles:\{condensed\}, off styles:\{\}\}\n"
  283. "end if\n"
  284. "set style of usersel to x\n"
  285. "end tell"
  286. };
  287.  
  288. data 'SCPT' (mStyle*32+8){
  289. "tell application \"MenuScripter\"\n"
  290. "copy selection of window 1 to usersel\n"
  291. "copy style of usersel to selstyle\n"
  292. "if on styles of selstyle contains extended then\n"
  293. "set x to \{class:text style info, on styles:\{\}, off styles:\{extended\}\}\n"
  294. "else\n"
  295. "set x to \{class:text style info, on styles:\{extended\}, off styles:\{\}\}\n"
  296. "end if\n"
  297. "set style of usersel to x\n"
  298. "end tell"
  299. };
  300.  
  301. resource 'DITL' (400, "Menu Script Editor") {
  302.     {    /* array DITLarray: 5 elements */
  303.         /* [1] */
  304.         {164, 319, 184, 377},
  305.         Button {
  306.             enabled,
  307.             "OK"
  308.         },
  309.         /* [2] */
  310.         {164, 251, 184, 309},
  311.         Button {
  312.             enabled,
  313.             "Cancel"
  314.         },
  315.         /* [3] */
  316.         {164, 181, 184, 239},
  317.         Button {
  318.             enabled,
  319.             "Compile"
  320.         },
  321.         /* [4] */
  322.         {9, 10, 155, 362},
  323.         UserItem {
  324.             enabled
  325.         },
  326.         /* [5] */
  327.         {9, 361, 155, 377},
  328.         UserItem {
  329.             disabled
  330.         }
  331.     }
  332. };
  333.  
  334. resource 'DLOG' (400, "Menu Script Editor") {
  335.     {80, 40, 274, 431},
  336.     movableDBoxProc,
  337.     visible,
  338.     noGoAway,
  339.     0x0,
  340.     400,
  341.     "Menu Script"
  342. };
  343.  
  344. resource 'vers' (1) {
  345.     0x01, 0x00, development, 0x06,
  346.     verBritain,
  347.     "1.0d6",
  348.     "1.0d6, SRL Data, 1993"
  349. };
  350.  
  351. resource 'ICN#' (129) {
  352.     {    /* array: 2 elements */
  353.         /* [1] */
  354.         $"0FFF FE00 0800 0300 0800 0280 0BEE DA40"
  355.         $"0800 0220 0BF6 F210 0800 03F8 0BEF BDC8"
  356.         $"081F FFE8 0B64 0038 0844 0018 0BC4 0018"
  357.         $"0847 FFF8 0B40 00E8 0847 FC88 0AC7 FCC8"
  358.         $"0840 1888 0BC0 18E8 0840 3088 0B40 30C8"
  359.         $"0840 3088 0AC0 70E8 0840 6088 0BC0 60C8"
  360.         $"0840 E088 0AC0 C0E8 0FC0 C088 0C40 00E8"
  361.         $"0C40 0088 0BFF FF68 0800 0008 0FFF FFF8",
  362.         /* [2] */
  363.         $"0FFF FE00 0FFF FF00 0FFF FF80 0FFF FFC0"
  364.         $"0FFF FFE0 0FFF FFF0 0FFF FFF8 0FFF FFF8"
  365.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  366.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  367.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  368.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  369.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  370.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  371.     }
  372. };
  373.  
  374. resource 'ICN#' (128) {
  375.     {    /* array: 2 elements */
  376.         /* [1] */
  377.         $"00FF FFFC 0110 0002 0208 0001 0208 0001"
  378.         $"0208 0001 020F FFFF 0200 0020 0200 0020"
  379.         $"0207 FF20 0208 0120 021B F920 0216 0920"
  380.         $"021C 1220 0200 1220 0200 1220 0200 3220"
  381.         $"0200 2420 0200 27A0 0200 68E0 0200 5E30"
  382.         $"0200 7F9C 0200 981C 0200 BC1C 0200 A7FC"
  383.         $"0201 203C 0201 E020 FE00 0020 8200 0020"
  384.         $"8200 0020 8200 0020 4400 0040 3FFF FF80",
  385.         /* [2] */
  386.         $"00FF FFFC 01FF FFFE 03FF FFFF 03FF FFFF"
  387.         $"03FF FFFF 03FF FFFF 03FF FFE0 03FF FFE0"
  388.         $"03FF FFE0 03FF FFE0 03FF FFE0 03FF FFE0"
  389.         $"03FF FFE0 03FF FFE0 03FF FFE0 03FF FFE0"
  390.         $"03FF FFE0 03FF FFE0 03FF FFE0 03FF FFF0"
  391.         $"03FF FFFC 03FF FFFC 03FF FFFC 03FF FFFC"
  392.         $"03FF FFFC 03FF FFE0 FFFF FFE0 FFFF FFE0"
  393.         $"FFFF FFE0 FFFF FFE0 7FFF FFC0 3FFF FF80"
  394.     }
  395. };
  396.  
  397. resource 'ics#' (128) {
  398.     {    /* array: 2 elements */
  399.         /* [1] */
  400.         $"1FFF 1201 13FF 1004 13F4 17F4 1654 1054"
  401.         $"107C 10FC 10FE 10FE 11C6 F004 9004 FFF8",
  402.         /* [2] */
  403.         $"1FFF 1FFF 1FFF 1FFC 1FFC 1FFC 1FFC 1FFC"
  404.         $"1FFC 1FFC 1FFE 1FFE 1FFE FFFC FFFC FFF8"
  405.     }
  406. };
  407.  
  408. resource 'ics#' (129) {
  409.     {    /* array: 2 elements */
  410.         /* [1] */
  411.         $"3FF0 3FF8 3FD4 3FFE 3FFE 3A06 3BFE 3BEA"
  412.         $"386E 384A 38CE 38CA 38CE 388E 3FFE 3FFE",
  413.         /* [2] */
  414.         $"3FF0 3FF8 3FFC 3FFE 3FFE 3FFE 3FFE 3FFE"
  415.         $"3FFE 3FFE 3FFE 3FFE 3FFE 3FFE 3FFE 3FFE"
  416.     }
  417. };
  418.  
  419. resource 'icl8' (128) {
  420.     $"0000 0000 0000 0000 FFFF FFFF FFFF FFFF"
  421.     $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0000"
  422.     $"0000 0000 0000 00FF FAFA FAFF 0000 0000"
  423.     $"0000 0000 0000 0000 0000 0000 0000 FF00"
  424.     $"0000 0000 0000 FFF7 F7F7 F7F7 FF00 0000"
  425.     $"0000 0000 0000 0000 0000 0000 0000 00FF"
  426.     $"0000 0000 0000 FF00 0000 0000 FF00 0000"
  427.     $"0000 0000 0000 0000 0000 0000 0000 00FF"
  428.     $"0000 0000 0000 FF00 0000 0000 FF00 0000"
  429.     $"0000 0000 0000 0000 0000 0000 0000 00FF"
  430.     $"0000 0000 0000 FF00 0000 0000 FFFF FFFF"
  431.     $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF"
  432.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  433.     $"0000 0000 0000 0000 0000 FF00 0000 0000"
  434.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  435.     $"0000 0000 0000 0000 0000 FF00 0000 0000"
  436.     $"0000 0000 0000 FF00 0000 0000 00FF FFFF"
  437.     $"FFFF FFFF FFFF FFFF 0000 FF00 0000 0000"
  438.     $"0000 0000 0000 FF00 0000 0000 FFEC ECEC"
  439.     $"ECEC ECEC ECEC ECFF 0000 FF00 0000 0000"
  440.     $"0000 0000 0000 FF00 0000 00FF FFEC FFFF"
  441.     $"FFFF FFFF FFEC ECFF 0000 FF00 0000 0000"
  442.     $"0000 0000 0000 FF00 0000 00FF ECFF FF00"
  443.     $"0000 0000 FFEC ECFF 0000 FF00 0000 0000"
  444.     $"0000 0000 0000 FF00 0000 00FF FFFF 0000"
  445.     $"0000 00FF ECEC FF00 0000 FF00 0000 0000"
  446.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  447.     $"0000 00FF ECEC FF00 0000 FF00 0000 0000"
  448.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  449.     $"0000 00FF ECEC FF00 0000 FF00 0000 0000"
  450.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  451.     $"0000 FFFF ECEC FF00 0000 FF00 0000 0000"
  452.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  453.     $"0000 FFEC ECFF 0000 0000 FF00 0000 0000"
  454.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  455.     $"0000 FFEC ECFF FFFF FF00 FF00 0000 0000"
  456.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  457.     $"00FF FFEC FF08 0808 FFFF FF00 0000 0000"
  458.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  459.     $"00FF 2AFF FFFF FF08 0808 FFFF 0000 0000"
  460.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  461.     $"00FF FFFF FFFF FFFF FF08 08FF FFFF 0000"
  462.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  463.     $"FF2A 2AFF FF08 0808 0808 08FF FFFF 0000"
  464.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  465.     $"FF2A FFFF FFFF 0808 0808 08FF FFFF 0000"
  466.     $"0000 0000 0000 FF00 0000 0000 0000 0000"
  467.     $"FF2A FF00 00FF FFFF FFFF FFFF FFFF 0000"
  468.     $"0000 0000 0000 FF00 0000 0000 0000 00FF"
  469.     $"F5F5 FF00 0000 0000 0000 FFFF FFFF 0000"
  470.     $"0000 0000 0000 FF00 0000 0000 0000 00FF"
  471.     $"FFFF FF00 0000 0000 0000 FF00 0000 0000"
  472.     $"FFFF FFFF FFFF FF00 0000 0000 0000 0000"
  473.     $"0000 0000 0000 0000 0000 FF00 0000 0000"
  474.     $"FF00 0000 0000 FF00 0000 0000 0000 0000"
  475.     $"0000 0000 0000 0000 0000 FF00 0000 0000"
  476.     $"FF00 0000 0000 FFF5 F5F5 F5F5 F5F5 F5F5"
  477.     $"F5F5 F5F5 F5F5 F5F5 F5F5 FF00 0000 0000"
  478.     $"FF00 0000 0000 FFF7 F7F7 F7F7 F7F7 F7F7"
  479.     $"F7F7 F7F7 F7F7 F7F7 F7F7 FF00 0000 0000"
  480.     $"00FF 0000 00FF FAFA FAFA FAFA FAFA FAFA"
  481.     $"FAFA FAFA FAFA FAFA FAFF 0000 0000 0000"
  482.     $"0000 FFFF FFFF FFFF FFFF FFFF FFFF FFFF"
  483.     $"FFFF FFFF FFFF FFFF FF"
  484. };
  485.  
  486. resource 'icl8' (129) {
  487.     $"0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF"
  488.     $"FFFF FFFF FFFF FF00 0000 0000 0000 0000"
  489.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  490.     $"0000 0000 0000 FFFF 0000 0000 0000 0000"
  491.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  492.     $"0000 0000 0000 FF00 FF00 0000 0000 0000"
  493.     $"0000 0000 FF00 D8D8 D8D8 D800 D8D8 D800"
  494.     $"D8D8 00D8 D800 FF00 00FF 0000 0000 0000"
  495.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  496.     $"0000 0000 0000 FF00 0000 FF00 0000 0000"
  497.     $"0000 0000 FF00 D8D8 D8D8 D8D8 00D8 D800"
  498.     $"D8D8 D8D8 0000 FF00 0000 00FF 0000 0000"
  499.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  500.     $"0000 0000 0000 FFFF FFFF FFFF FF00 0000"
  501.     $"0000 0000 FF00 D8D8 D8D8 D800 D8D8 D8D8"
  502.     $"D800 D8D8 D8D8 00D8 D8D8 0000 FF00 0000"
  503.     $"0000 0000 FF00 0000 0000 00FF FFFF FFFF"
  504.     $"FFFF FFFF FFFF FFFF FFFF FF00 FF00 0000"
  505.     $"0000 0000 FF00 D8D8 00FF FF00 00FF 0000"
  506.     $"0000 0000 0000 0000 0000 FFFF FF00 0000"
  507.     $"0000 0000 FF00 0000 00FF 0000 00FF 0000"
  508.     $"0000 0000 0000 0000 0000 00FF FF00 0000"
  509.     $"0000 0000 FF00 D8D8 D8FF 0000 00FF 0000"
  510.     $"0000 0000 0000 0000 0000 00FF FF00 0000"
  511.     $"0000 0000 FF00 0000 00FF 0000 00FF FFFF"
  512.     $"FFFF FFFF FFFF FFFF FFFF FFFF FF00 0000"
  513.     $"0000 0000 FF00 D8D8 00FF 0000 0000 0000"
  514.     $"0000 0000 0000 0000 FFD8 D800 FF00 0000"
  515.     $"0000 0000 FF00 0000 00FF 0000 00EC ECEC"
  516.     $"ECEC ECEC ECEC 0000 FF00 0000 FF00 0000"
  517.     $"0000 0000 FF00 D800 D8FF 0000 00EC ECEC"
  518.     $"ECEC ECEC ECEC 0000 FFD8 0000 FF00 0000"
  519.     $"0000 0000 FF00 0000 00FF 0000 0000 0000"
  520.     $"0000 00EC EC00 0000 FF00 0000 FF00 0000"
  521.     $"0000 0000 FF00 D8D8 D8FF 0000 0000 0000"
  522.     $"0000 00EC EC00 0000 FFD8 D800 FF00 0000"
  523.     $"0000 0000 FF00 0000 00FF 0000 0000 0000"
  524.     $"0000 ECEC 0000 0000 FF00 0000 FF00 0000"
  525.     $"0000 0000 FF00 D8D8 00FF 0000 0000 0000"
  526.     $"0000 ECEC 0000 0000 FFD8 0000 FF00 0000"
  527.     $"0000 0000 FF00 0000 00FF 0000 0000 0000"
  528.     $"0000 ECEC 0000 0000 FF00 0000 FF00 0000"
  529.     $"0000 0000 FF00 D800 D8FF 0000 0000 0000"
  530.     $"00EC ECEC 0000 0000 FFD8 D800 FF00 0000"
  531.     $"0000 0000 FF00 0000 00FF 0000 0000 0000"
  532.     $"00EC EC00 0000 0000 FF00 0000 FF00 0000"
  533.     $"0000 0000 FF00 D8D8 D8FF 0000 0000 0000"
  534.     $"00EC EC00 0000 0000 FFD8 0000 FF00 0000"
  535.     $"0000 0000 FF00 0000 00FF 0000 0000 0000"
  536.     $"ECEC EC00 0000 0000 FF00 0000 FF00 0000"
  537.     $"0000 0000 FF00 D800 D8FF 0000 0000 0000"
  538.     $"ECEC 0000 0000 0000 FFD8 D800 FF00 0000"
  539.     $"0000 0000 FFFF FFFF FFFF 0000 0000 0000"
  540.     $"ECEC 0000 0000 0000 FF00 0000 FF00 0000"
  541.     $"0000 0000 FFFF 0000 00FF 0000 0000 0000"
  542.     $"0000 0000 0000 0000 FFD8 D800 FF00 0000"
  543.     $"0000 0000 FFFF 0000 00FF 0000 0000 0000"
  544.     $"0000 0000 0000 0000 FF00 0000 FF00 0000"
  545.     $"0000 0000 FF00 FFFF FFFF FFFF FFFF FFFF"
  546.     $"FFFF FFFF FFFF FFFF 00D8 D800 FF00 0000"
  547.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  548.     $"0000 0000 0000 0000 0000 0000 FF00 0000"
  549.     $"0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF"
  550.     $"FFFF FFFF FFFF FFFF FFFF FFFF FF"
  551. };
  552.  
  553. resource 'icl4' (128) {
  554.     $"0000 0000 FFFF FFFF FFFF FFFF FFFF FF00"
  555.     $"0000 000F DDDF 0000 0000 0000 0000 00F0"
  556.     $"0000 00FC CCCC F000 0000 0000 0000 000F"
  557.     $"0000 00F0 0000 F000 0000 0000 0000 000F"
  558.     $"0000 00F0 0000 F000 0000 0000 0000 000F"
  559.     $"0000 00F0 0000 FFFF FFFF FFFF FFFF FFFF"
  560.     $"0000 00F0 0000 0000 0000 0000 00F0 0000"
  561.     $"0000 00F0 0000 0000 0000 0000 00F0 0000"
  562.     $"0000 00F0 0000 0FFF FFFF FFFF 00F0 0000"
  563.     $"0000 00F0 0000 F666 6666 666F 00F0 0000"
  564.     $"0000 00F0 000F F6FF FFFF F66F 00F0 0000"
  565.     $"0000 00F0 000F 6FF0 0000 F66F 00F0 0000"
  566.     $"0000 00F0 000F FF00 000F 66F0 00F0 0000"
  567.     $"0000 00F0 0000 0000 000F 66F0 00F0 0000"
  568.     $"0000 00F0 0000 0000 000F 66F0 00F0 0000"
  569.     $"0000 00F0 0000 0000 00FF 66F0 00F0 0000"
  570.     $"0000 00F0 0000 0000 00F6 6F00 00F0 0000"
  571.     $"0000 00F0 0000 0000 00F6 6FFF F0F0 0000"
  572.     $"0000 00F0 0000 0000 0FF6 FCCC FFF0 0000"
  573.     $"0000 00F0 0000 0000 0FCF FFFC CCFF 0000"
  574.     $"0000 00F0 0000 0000 0FFF FFFF FCCF FF00"
  575.     $"0000 00F0 0000 0000 FCCF FCCC CCCF FF00"
  576.     $"0000 00F0 0000 0000 FCFF FFCC CCCF FF00"
  577.     $"0000 00F0 0000 0000 FCF0 0FFF FFFF FF00"
  578.     $"0000 00F0 0000 000F 00F0 0000 00FF FF00"
  579.     $"0000 00F0 0000 000F FFF0 0000 00F0 0000"
  580.     $"FFFF FFF0 0000 0000 0000 0000 00F0 0000"
  581.     $"F000 00F0 0000 0000 0000 0000 00F0 0000"
  582.     $"F000 00F0 0000 0000 0000 0000 00F0 0000"
  583.     $"F000 00FC CCCC CCCC CCCC CCCC CCF0 0000"
  584.     $"0F00 0FDD DDDD DDDD DDDD DDDD DF00 0000"
  585.     $"00FF FFFF FFFF FFFF FFFF FFFF F0"
  586. };
  587.  
  588. resource 'icl4' (129) {
  589.     $"0000 FFFF FFFF FFFF FFFF FFF0 0000 0000"
  590.     $"0000 F000 0000 0000 0000 00FF 0000 0000"
  591.     $"0000 F000 0000 0000 0000 00F0 F000 0000"
  592.     $"0000 F033 3330 3330 3303 30F0 0F00 0000"
  593.     $"0000 F000 0000 0000 0000 00F0 00F0 0000"
  594.     $"0000 F033 3333 0330 3333 00F0 000F 0000"
  595.     $"0000 F000 0000 0000 0000 00FF FFFF F000"
  596.     $"0000 F033 3330 3333 3033 3303 3300 F000"
  597.     $"0000 F000 000F FFFF FFFF FFFF FFF0 F000"
  598.     $"0000 F033 0FF0 0F00 0000 0000 00FF F000"
  599.     $"0000 F000 0F00 0F00 0000 0000 000F F000"
  600.     $"0000 F033 3F00 0F00 0000 0000 000F F000"
  601.     $"0000 F000 0F00 0FFF FFFF FFFF FFFF F000"
  602.     $"0000 F033 0F00 0000 0000 0000 F330 F000"
  603.     $"0000 F000 0F00 0666 6666 6600 F000 F000"
  604.     $"0000 F030 3F00 0666 6666 6600 F300 F000"
  605.     $"0000 F000 0F00 0000 0006 6000 F000 F000"
  606.     $"0000 F033 3F00 0000 0006 6000 F330 F000"
  607.     $"0000 F000 0F00 0000 0066 0000 F000 F000"
  608.     $"0000 F033 0F00 0000 0066 0000 F300 F000"
  609.     $"0000 F000 0F00 0000 0066 0000 F000 F000"
  610.     $"0000 F030 3F00 0000 0666 0000 F330 F000"
  611.     $"0000 F000 0F00 0000 0660 0000 F000 F000"
  612.     $"0000 F033 3F00 0000 0660 0000 F300 F000"
  613.     $"0000 F000 0F00 0000 6660 0000 F000 F000"
  614.     $"0000 F030 3F00 0000 6600 0000 F330 F000"
  615.     $"0000 FFFF FF00 0000 6600 0000 F000 F000"
  616.     $"0000 FF00 0F00 0000 0000 0000 F330 F000"
  617.     $"0000 FF00 0F00 0000 0000 0000 F000 F000"
  618.     $"0000 F0FF FFFF FFFF FFFF FFFF 0330 F000"
  619.     $"0000 F000 0000 0000 0000 0000 0000 F000"
  620.     $"0000 FFFF FFFF FFFF FFFF FFFF FFFF F0"
  621. };
  622.  
  623. resource 'ics8' (128) {
  624.     $"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
  625.     $"0000 00FF F7F7 FF00 0000 0000 0000 00FF"
  626.     $"0000 00FF 0000 FFFF FFFF FFFF FFFF FFFF"
  627.     $"0000 00FF 0000 0000 0000 0000 00FF 0000"
  628.     $"0000 00FF 0000 FFFF FFFF FFFF 00FF 0000"
  629.     $"0000 00FF 00FF FFFF FFFF FFFF 00FF 0000"
  630.     $"0000 00FF 00FF FF00 00FF ECFF 00FF 0000"
  631.     $"0000 00FF 0000 0000 00FF ECFF 00FF 0000"
  632.     $"0000 00FF 0000 0000 00FF FFFF FFFF 0000"
  633.     $"0000 00FF 0000 0000 FFFF FFFF FFFF 0000"
  634.     $"0000 00FF 0000 0000 FFFF FFFF FFFF FF00"
  635.     $"0000 00FF 0000 0000 FFFF FFFF FFFF FF00"
  636.     $"0000 00FF 0000 00FF FFFF 0000 00FF FF00"
  637.     $"FFFF FFFF 0000 0000 0000 0000 00FF 0000"
  638.     $"FF00 00FF F7F7 F7F7 F7F7 F7F7 F7FF 0000"
  639.     $"FFFF FFFF FFFF FFFF FFFF FFFF FF"
  640. };
  641.  
  642. resource 'ics8' (129) {
  643.     $"0000 FFFF FFFF FFFF FFFF FFFF 0000 0000"
  644.     $"0000 FFD8 D8D8 D8D8 D8D8 D8FF FF00 0000"
  645.     $"0000 FFD8 D8D8 D8D8 D8D8 00FF 00FF 0000"
  646.     $"0000 FFD8 D8D8 D8D8 D8D8 D8FF FFFF FF00"
  647.     $"0000 FFD8 FFFF FFFF FFFF FFFF FFFF FF00"
  648.     $"0000 FFD8 FF00 FF00 0000 0000 00FF FF00"
  649.     $"0000 FFD8 FF00 FFFF FFFF FFFF FFFF FF00"
  650.     $"0000 FFD8 FF00 ECEC ECEC EC00 FF00 FF00"
  651.     $"0000 FFD8 FF00 0000 00EC EC00 FFD8 FF00"
  652.     $"0000 FFD8 FF00 0000 00EC 0000 FF00 FF00"
  653.     $"0000 FFD8 FF00 0000 ECEC 0000 FFD8 FF00"
  654.     $"0000 FFD8 FF00 0000 ECEC 0000 FF00 FF00"
  655.     $"0000 FFD8 FF00 0000 ECEC 0000 FFD8 FF00"
  656.     $"0000 FFFF FF00 0000 EC00 0000 FFD8 FF00"
  657.     $"0000 FFFF FFFF FFFF FFFF FFFF FFD8 FF00"
  658.     $"0000 FFFF FFFF FFFF FFFF FFFF FFFF FF"
  659. };
  660.  
  661. resource 'ics4' (128) {
  662.     $"000F FFFF FFFF FFFF 000F CCF0 0000 000F"
  663.     $"000F 00FF FFFF FFFF 000F 0000 0000 0F00"
  664.     $"000F 00FF FFFF 0F00 000F 0FFF FFFF 0F00"
  665.     $"000F 0FF0 0F6F 0F00 000F 0000 0F6F 0F00"
  666.     $"000F 0000 0FFF FF00 000F 0000 FFFF FF00"
  667.     $"000F 0000 FFFF FFF0 000F 0000 FFFF FFF0"
  668.     $"000F 000F FF00 0FF0 FFFF 0000 0000 0F00"
  669.     $"F00F CCCC CCCC CF00 FFFF FFFF FFFF F0"
  670. };
  671.  
  672. resource 'ics4' (129) {
  673.     $"00FF FFFF FFFF 0000 00F3 3333 333F F000"
  674.     $"00F3 3333 330F 0F00 00F3 3333 333F FFF0"
  675.     $"00F3 FFFF FFFF FFF0 00F3 F0F0 0000 0FF0"
  676.     $"00F3 F0FF FFFF FFF0 00F3 F066 6660 F0F0"
  677.     $"00F3 F000 0660 F3F0 00F3 F000 0600 F0F0"
  678.     $"00F3 F000 6600 F3F0 00F3 F000 6600 F0F0"
  679.     $"00F3 F000 6600 F3F0 00FF F000 6000 F3F0"
  680.     $"00FF FFFF FFFF F3F0 00FF FFFF FFFF FFF0"
  681. };
  682.  
  683. resource 'FREF' (130, purgeable) {
  684.     'APPL',
  685.     0,
  686.     ""
  687. };
  688.  
  689. resource 'FREF' (131, purgeable) {
  690.     'TEXT',
  691.     1,
  692.     ""
  693. };
  694.  
  695. resource 'BNDL' (132, purgeable) {
  696.     'SVEd',
  697.     0,
  698.     {    /* array TypeArray: 2 elements */
  699.         /* [1] */
  700.         'ICN#',
  701.         {    /* array IDArray: 2 elements */
  702.             /* [1] */
  703.             0, 128,
  704.             /* [2] */
  705.             1, 129
  706.         },
  707.         /* [2] */
  708.         'FREF',
  709.         {    /* array IDArray: 2 elements */
  710.             /* [1] */
  711.             2, 130,
  712.             /* [2] */
  713.             3, 131
  714.         }
  715.     }
  716. };
  717.  
  718. data 'SVEd' (0) {
  719.     $"25"
  720.     "MenuScript sample program from UK.DTS"
  721. };
  722.  
  723. resource 'SIZE' (-1) {
  724.     dontSaveScreen,
  725.     acceptSuspendResumeEvents,
  726.     enableOptionSwitch,
  727.     canBackground,                
  728.     multiFinderAware,            
  729.     backgroundAndForeground,    
  730.     dontGetFrontClicks,            
  731.     ignoreChildDiedEvents,        
  732.     is32BitCompatible,            
  733.     isHighLevelEventAware,        
  734.     localAndRemoteHLEvents,        
  735.     reserved,
  736.     reserved,
  737.     reserved,
  738.     reserved,
  739.     reserved,
  740.     kPrefSize * 2000,
  741.     kMinSize * 2000    
  742. };
  743.  
  744.  
  745. resource 'WIND' (128, "", purgeable) {
  746.     {18, 48, 282, 408},
  747.     zoomDocProc,
  748.     invisible,
  749.     goAway,
  750.     0x0,
  751.     Untitled
  752. };
  753.  
  754. resource 'ALRT' (257, "", purgeable) {
  755.     {60, 96, 208, 424},
  756.     6692,
  757.     {    /* array: 4 elements */
  758.         /* [1] */
  759.         OK, visible, silent,
  760.         /* [2] */
  761.         OK, visible, silent,
  762.         /* [3] */
  763.         OK, visible, silent,
  764.         /* [4] */
  765.         OK, visible, silent
  766.     }
  767. };
  768.  
  769. resource 'ALRT' (256, "", purgeable) {
  770.     {82, 104, 182, 366},
  771.     12117,
  772.     {    /* array: 4 elements */
  773.         /* [1] */
  774.         OK, visible, silent,
  775.         /* [2] */
  776.         OK, visible, silent,
  777.         /* [3] */
  778.         OK, visible, silent,
  779.         /* [4] */
  780.         OK, visible, silent
  781.     }
  782. };
  783.  
  784. resource 'DITL' (258, purgeable) {
  785.     {    /* array DITLarray: 2 elements */
  786.         /* [1] */
  787.         {181, 213, 201, 273},
  788.         Button {
  789.             enabled,
  790.             "OK"
  791.         },
  792.         /* [2] */
  793.         {7, 10, 155, 217},
  794.         Picture {
  795.             disabled,
  796.             128
  797.         }
  798.     }
  799. };
  800.  
  801. resource 'ALRT' (258, purgeable) {
  802.     {44, 48, 260, 329},
  803.     258,
  804.     {    /* array: 4 elements */
  805.         /* [1] */
  806.         OK, visible, silent,
  807.         /* [2] */
  808.         OK, visible, silent,
  809.         /* [3] */
  810.         OK, visible, silent,
  811.         /* [4] */
  812.         OK, visible, silent
  813.     }
  814. };
  815.  
  816. resource 'PICT' (128) {
  817.     2105,
  818.     {86, 115, 234, 322},
  819.     $"1101 A030 39A0 0082 0100 0A00 0000 0002"
  820.     $"D002 4098 001C 0056 006C 00EA 0144 0056"
  821.     $"0073 00EA 0142 0056 0073 00EA 0142 0000"
  822.     $"12FA 0001 300C FD00 070F C000 0003 0000"
  823.     $"C0FA 0017 0800 01FF FFF8 0000 381C FD00"
  824.     $"0718 6000 0003 0000 C0FA 0015 0800 03E0"
  825.     $"0004 0000 3C3C FD00 0130 30FC 0000 C0FA"
  826.     $"0014 0800 0410 0002 0000 366C FD00 0030"
  827.     $"FB00 00C0 FA00 1B17 0004 1000 0200 0033"
  828.     $"CC1E 0FC1 8630 007C 3787 0FC1 F03C 1BC0"
  829.     $"FD00 1B17 0004 1000 0200 0031 8C33 0E61"
  830.     $"8618 00C6 3CC3 0E60 C066 1E60 FD00 1B17"
  831.     $"0004 1FFF FE00 0030 0C61 8C31 860F C180"
  832.     $"38C3 0C30 C0C3 1C60 FD00 1A16 0004 0000"
  833.     $"4000 0030 0C61 8C31 8600 6180 3003 0C30"
  834.     $"C0C3 18FC 001A 1600 0400 0040 0000 300C"
  835.     $"7F8C 3186 0031 8030 030C 30C0 FF18 FC00"
  836.     $"1A16 0004 0FFE 4000 0030 0C60 0C31 8600"
  837.     $"3180 3003 0C30 C0C0 18FC 001A 1600 041F"
  838.     $"FE40 0000 300C 600C 3186 0031 8030 030C"
  839.     $"30C0 C018 FC00 1A16 0004 3FFE 4000 0030"
  840.     $"0C61 8C31 8630 3180 3003 0C30 C0C3 18FC"
  841.     $"001A 1600 043C 1E40 0000 300C 330C 30CE"
  842.     $"1860 C630 030E 60CC 6618 FC00 1A16 0004"
  843.     $"383C 4000 0030 0C1E 0C30 7E0F C07C 3003"
  844.     $"0FC0 783C 18FC 000C 0400 0400 3C40 F400"
  845.     $"000C F800 0C04 0004 003C 40F4 0000 0CF8"
  846.     $"000C 0400 0400 7C40 F400 000C F800 0804"
  847.     $"0004 0078 40EA 0008 0400 0400 7F40 EA00"
  848.     $"0804 0004 00F1 C0EA 0008 0400 0400 BC60"
  849.     $"EA00 0804 0004 00FF 38EA 0008 0400 0401"
  850.     $"3038 EA00 0804 0004 0178 38EA 0008 0400"
  851.     $"0401 4FF8 EA00 0804 0004 0240 78EA 0008"
  852.     $"0400 0403 C040 EA00 0804 01FC 0000 40EA"
  853.     $"0008 0401 0400 0040 EA00 0804 0104 0000"
  854.     $"40EA 0008 0401 0400 0040 EA00 0804 008F"
  855.     $"FFFF 80EA 0007 0300 7FFF FFE9 0002 E500"
  856.     $"02E5 0002 E500 02E5 0002 E500 16FA 0010"
  857.     $"0400 0040 0006 003C 0001 0010 E880 0000"
  858.     $"40FD 0016 FA00 0704 0000 4000 0200 42FE"
  859.     $"0005 104D 8000 0040 FD00 16FA 0010 0A16"
  860.     $"00A1 E3C2 1C40 38BB 1E38 4A80 E2C3 C0FD"
  861.     $"0016 FA00 100A 1900 A112 2222 4044 C111"
  862.     $"1048 8113 2440 FD00 16FA 0010 1111 0111"
  863.     $"1222 223C 4081 1110 0000 F224 40FD 0016"
  864.     $"FA00 1011 1101 1112 223E 0240 8111 1000"
  865.     $"0112 2440 FD00 16FA 0010 3F91 03F9 1222"
  866.     $"2002 4081 1110 0001 1224 40FD 0016 FA00"
  867.     $"1020 9102 0912 2222 4244 8111 1000 0112"
  868.     $"2440 FD00 16FA 0010 2091 0209 E3C2 1C3C"
  869.     $"3881 1E0C 0000 F223 C0FD 000B F700 0101"
  870.     $"02FC 0000 10F7 000B F700 0101 02FC 0000"
  871.     $"10F7 0002 E500 02E5 0002 E500 02E5 0002"
  872.     $"E500 15FA 0002 1E1E 04FD 0001 0180 FE00"
  873.     $"040C 2000 0410 FD00 13FA 0002 2121 04FC"
  874.     $"0000 80FE 0003 0400 0004 FC00 18FA 0012"
  875.     $"2120 0A00 E1C5 98F0 8700 E3C7 8461 C38E"
  876.     $"30E2 C0FF 0018 FA00 1221 200A 0112 2664"
  877.     $"8888 8112 2444 2224 4411 1320 FF00 18FA"
  878.     $"0012 211E 1101 01E4 4488 8880 F224 4422"
  879.     $"03C4 1112 20FF 0018 FA00 1221 0111 00E2"
  880.     $"2444 888F 8112 2444 2204 4411 1220 FF00"
  881.     $"18FA 0012 2101 3F80 1224 4488 8801 1224"
  882.     $"4422 0444 1112 20FF 0018 FA00 1221 2120"
  883.     $"8112 2444 8888 8112 2444 2224 4411 1220"
  884.     $"FF00 18FA 0012 1E1E 2080 E1E4 44F0 8700"
  885.     $"F3C7 8421 C3C3 10E2 24FF 000A F300 0480"
  886.     $"0000 0204 F800 0AF3 0004 8000 0002 04F8"
  887.     $"0002 E500 02E5 0002 E500 02E5 0002 E500"
  888.     $"02E5 0002 E500 02E5 0002 E500 02E5 0002"
  889.     $"E500 02E5 0002 E500 02E5 0014 FA00 0E10"
  890.     $"1004 2080 0001 0000 3C7C 400F 0008 FB00"
  891.     $"14FA 000E 1010 0020 8000 0100 0042 4240"
  892.     $"0880 08FB 0015 FA00 0F11 12EC 71C3 8B01"
  893.     $"E220 4042 4008 471C 38FC 0015 FA00 0F09"
  894.     $"2304 2084 4C81 1220 4042 4008 4888 44FC"
  895.     $"0015 FA00 0F0A A204 2084 4881 1220 3C7C"
  896.     $"4008 4788 3CFC 0015 FA00 0F0A A204 2087"
  897.     $"C881 1220 0250 4008 4888 44FC 0015 FA00"
  898.     $"0F04 4204 2084 0881 1220 0248 4008 4888"
  899.     $"44FC 0015 FA00 0F04 4204 2084 4881 1220"
  900.     $"4244 4008 8888 44FC 0015 FA00 0F04 4204"
  901.     $"1863 8881 E1E0 3C42 7C0F 0786 3CFC 0006"
  902.     $"F200 0020 F500 07F3 0001 0220 F500 07F3"
  903.     $"0001 01C0 F500 02E5 0002 E500 02E5 0002"
  904.     $"E500 16F8 0010 3C7C 400F 0008 0001 0787"
  905.     $"8380 0107 878F C0FF 0018 FA00 1207 8042"
  906.     $"4240 0880 0800 0308 4844 4003 0848 4080"
  907.     $"FF00 17FA 0011 0840 4042 4008 471C 3801"
  908.     $"0848 4840 0108 4841 FE00 17FA 0011 1320"
  909.     $"4042 4008 4888 4401 0848 4040 0108 4843"
  910.     $"FE00 18FA 0012 1420 3C7C 4008 4788 3C01"
  911.     $"0848 4080 0108 4840 80FF 0018 FA00 1214"
  912.     $"2002 5040 0848 8844 0107 C7C1 0001 07C7"
  913.     $"C040 FF00 17FA 000F 1320 0248 4008 4888"
  914.     $"4401 0040 4200 0100 FE40 FF00 18FA 0012"
  915.     $"0840 4244 4008 8888 4401 0080 8400 0100"
  916.     $"8088 80FF 0016 FA00 0E07 803C 427C 0F07"
  917.     $"863C 0107 070F C401 FE07 FE00 06ED 0000"
  918.     $"04FA 0006 ED00 0008 FA00 02E5 0002 E500"
  919.     $"02E5 0002 E500 02E5 0002 E500 14FA 000A"
  920.     $"0100 0018 0184 0080 0212 10FE C000 40FB"
  921.     $"0014 FA00 0901 0000 0800 8000 8002 12FE"
  922.     $"2101 20C0 FB00 14FA 000E 0287 8F08 708C"
  923.     $"5888 0212 4212 1210 40FB 0014 FA00 0E02"
  924.     $"8448 8888 8464 9102 1282 1212 1040 FB00"
  925.     $"14FA 000E 0444 4888 8884 44A0 0213 0212"
  926.     $"1210 40FB 0014 FA00 0E04 4448 88F8 8444"
  927.     $"C002 1282 1212 1040 FB00 14FA 000E 0FE4"
  928.     $"4888 8084 44A0 0212 4212 1210 40FB 0014"
  929.     $"FA00 0908 2448 8888 8444 9002 12FE 2101"
  930.     $"2040 FB00 14FA 000A 0827 8F08 7084 4489"
  931.     $"01E2 10FE C000 40FB 0007 F900 0104 08EF"
  932.     $"0007 F900 0104 08EF 0002 E500 02E5 0002"
  933.     $"E500 02E5 0002 E500 02E5 0002 E500 02E5"
  934.     $"0002 E500 02E5 0002 E500 02E5 0002 E500"
  935.     $"02E5 0002 E500 18FA 0014 0E00 8040 0198"
  936.     $"0010 0006 0000 0818 0008 9107 1F38 0017"
  937.     $"FA00 0011 FD00 0F88 0010 0002 0000 0820"
  938.     $"0008 9204 8444 0018 FA00 1411 2D8E C718"
  939.     $"8890 7322 6231 C638 7316 0894 0444 4000"
  940.     $"18FA 0014 1130 9244 A488 9094 A292 4929"
  941.     $"4824 9808 9804 4438 0018 FA00 1411 2092"
  942.     $"449C 8890 9794 F249 2F48 2490 0898 0444"
  943.     $"0400 18FA 0014 1120 9244 A488 9094 1482"
  944.     $"4928 4824 9008 9404 4404 0018 FA00 1411"
  945.     $"2092 44A4 8890 9488 9249 2948 2490 0892"
  946.     $"0484 4400 18FA 0014 0E20 8E44 9C88 7073"
  947.     $"0862 31C6 3823 1007 1127 0438 000E F800"
  948.     $"0002 FE00 0010 FE00 0001 F700 0EF8 0000"
  949.     $"0CFE 0000 60FE 0000 01F7 00A0 0083 FF"
  950. };
  951.  
  952.  
  953.  
  954. resource 'ALRT' (259, "", purgeable) {
  955.     {72, 72, 200, 384},
  956.     259,
  957.     {    /* array: 4 elements */
  958.         /* [1] */
  959.         OK, visible, silent,
  960.         /* [2] */
  961.         OK, visible, silent,
  962.         /* [3] */
  963.         OK, visible, silent,
  964.         /* [4] */
  965.         OK, visible, silent
  966.     }
  967. };
  968.  
  969. resource 'ALRT' (260, "", purgeable) {
  970.     {72, 72, 200, 384},
  971.     260,
  972.     {    /* array: 4 elements */
  973.         /* [1] */
  974.         OK, visible, silent,
  975.         /* [2] */
  976.         OK, visible, silent,
  977.         /* [3] */
  978.         OK, visible, silent,
  979.         /* [4] */
  980.         OK, visible, silent
  981.     }
  982. };
  983.  
  984. resource 'DITL' (6692, "", purgeable) {
  985.     {    /* array DITLarray: 5 elements */
  986.         /* [1] */
  987.         {82, 55, 106, 119},
  988.         Button {
  989.             enabled,
  990.             "Yes"
  991.         },
  992.         /* [2] */
  993.         {115, 55, 139, 119},
  994.         Button {
  995.             enabled,
  996.             "No"
  997.         },
  998.         /* [3] */
  999.         {116, 138, 140, 194},
  1000.         Button {
  1001.             enabled,
  1002.             "Cancel"
  1003.         },
  1004.         /* [4] */
  1005.         {8, 53, 77, 289},
  1006.         StaticText {
  1007.             enabled,
  1008.             "^0^1^2^3"
  1009.         },
  1010.         /* [5] */
  1011.         {9, 10, 41, 42},
  1012.         Icon {
  1013.             enabled,
  1014.             1
  1015.         }
  1016.     }
  1017. };
  1018.  
  1019. resource 'DITL' (12117, "", purgeable) {
  1020.     {    /* array DITLarray: 3 elements */
  1021.         /* [1] */
  1022.         {68, 180, 88, 240},
  1023.         Button {
  1024.             enabled,
  1025.             "OK"
  1026.         },
  1027.         /* [2] */
  1028.         {9, 57, 56, 240},
  1029.         StaticText {
  1030.             enabled,
  1031.             "^0^1^2^3"
  1032.         },
  1033.         /* [3] */
  1034.         {9, 7, 41, 39},
  1035.         Icon {
  1036.             enabled,
  1037.             1
  1038.         }
  1039.     }
  1040. };
  1041.  
  1042.  
  1043. resource 'ALRT' (261, "Apple Event resource", purgeable) {
  1044.     {56, 62, 202, 430},
  1045.     261,
  1046.     {    /* array: 4 elements */
  1047.         /* [1] */
  1048.         OK, visible, sound1,
  1049.         /* [2] */
  1050.         OK, visible, sound1,
  1051.         /* [3] */
  1052.         OK, visible, sound1,
  1053.         /* [4] */
  1054.         OK, visible, sound1
  1055.     }
  1056. };
  1057.  
  1058. resource 'DITL' (261, "", purgeable) {
  1059.     {    /* array DITLarray: 2 elements */
  1060.         /* [1] */
  1061.         {116, 281, 136, 341},
  1062.         Button {
  1063.             enabled,
  1064.             "OK"
  1065.         },
  1066.         /* [2] */
  1067.         {19, 18, 120, 229},
  1068.         StaticText {
  1069.             enabled,
  1070.             "^0"
  1071.         }
  1072.     }
  1073. };
  1074.  
  1075. resource 'ALRT' (300, "Error Alert", purgeable) {
  1076.     {108, 158, 238, 476},
  1077.     300,
  1078.     {    /* array: 4 elements */
  1079.         /* [1] */
  1080.         OK, visible, sound1,
  1081.         /* [2] */
  1082.         OK, visible, sound1,
  1083.         /* [3] */
  1084.         OK, visible, sound1,
  1085.         /* [4] */
  1086.         OK, visible, sound1
  1087.     }
  1088. };
  1089.  
  1090. resource 'DITL' (300, "", purgeable) {
  1091.     {    /* array DITLarray: 3 elements */
  1092.         /* [1] */
  1093.         {98, 227, 119, 292},
  1094.         Button {
  1095.             enabled,
  1096.             "Oh well"
  1097.         },
  1098.         /* [2] */
  1099.         {9, 63, 89, 294},
  1100.         StaticText {
  1101.             enabled,
  1102.             "Sorry an error has occured in the area o"
  1103.             "f ^0. \nThe error code = ^1"
  1104.         },
  1105.         /* [3] */
  1106.         {10, 11, 42, 43},
  1107.         Icon {
  1108.             enabled,
  1109.             0
  1110.         }
  1111.     }
  1112. };
  1113.  
  1114. resource 'DITL' (1004, "", purgeable) {
  1115.     {    /* array DITLarray: 5 elements */
  1116.         /* [1] */
  1117.         {65, 152, 85, 212},
  1118.         Button {
  1119.             enabled,
  1120.             "OK"
  1121.         },
  1122.         /* [2] */
  1123.         {65, 79, 85, 139},
  1124.         Button {
  1125.             enabled,
  1126.             "Cancel"
  1127.         },
  1128.         /* [3] */
  1129.         {10, 14, 31, 94},
  1130.         StaticText {
  1131.             disabled,
  1132.             "Point Size:"
  1133.         },
  1134.         /* [4] */
  1135.         {12, 115, 32, 178},
  1136.         EditText {
  1137.             enabled,
  1138.             "12"
  1139.         },
  1140.         /* [5] */
  1141.         {65, 152, 85, 212},
  1142.         UserItem {
  1143.             disabled
  1144.         },
  1145.     }
  1146. };
  1147.  
  1148. resource 'DLOG' (1004, "", purgeable) {
  1149.     {90, 134, 186, 364},
  1150.     dBoxProc,
  1151.     visible,
  1152.     noGoAway,
  1153.     0x0,
  1154.     1004,
  1155.     "Other Size Dialog"
  1156. };
  1157.  
  1158. resource 'DLOG' (1005, "printing...", purgeable) {
  1159.     {148, 157, 185, 354},
  1160.     dBoxProc,
  1161.     visible,
  1162.     noGoAway,
  1163.     0x0,
  1164.     1005,
  1165.     "printing…"
  1166. };
  1167.  
  1168. resource 'DITL' (1005, "printing...", purgeable) {
  1169.     {    /* array DITLarray: 1 elements */
  1170.         /* [1] */
  1171.         {10, 10, 27, 235},
  1172.         StaticText {
  1173.             disabled,
  1174.             "Type \0x11. to cancel printing"
  1175.         }
  1176.     }
  1177. };
  1178.  
  1179. resource 'ALRT' (302, "7.0 Only Alert") {
  1180.     {50, 60, 220, 312},
  1181.     302,
  1182.     {    /* array: 4 elements */
  1183.         /* [1] */
  1184.         OK, visible, sound1,
  1185.         /* [2] */
  1186.         OK, visible, sound1,
  1187.         /* [3] */
  1188.         OK, visible, sound1,
  1189.         /* [4] */
  1190.         OK, visible, sound1
  1191.     }
  1192. };
  1193.  
  1194. resource 'DITL' (302) {
  1195.     {    /* array DITLarray: 2 elements */
  1196.         /* [1] */
  1197.         {131, 140, 155, 236},
  1198.         Button {
  1199.             enabled,
  1200.             "Get into 7.0"
  1201.         },
  1202.         /* [2] */
  1203.         {4, 7, 125, 236},
  1204.         StaticText {
  1205.             enabled,
  1206.             "MenuScripter only works under System 7.0"
  1207.             ".\n\nTo take advantage of AppleEvents, Out"
  1208.             "line Fonts, Balloon Help, Publish & Subs"
  1209.             "cribe and Scripting- get 7.0 now!"
  1210.         }
  1211.     }
  1212. };
  1213.  
  1214. resource 'MENU' (mFile) {
  1215.     129,
  1216.     textMenuProc,
  1217.     0x7FFFFB7B,
  1218.     enabled,
  1219.     "File",
  1220.     {    /* array: 12 elements */
  1221.         /* [1] */
  1222.         "New", noIcon, "N", noMark, plain,
  1223.         /* [2] */
  1224.         "Open…", noIcon, "O", noMark, plain,
  1225.         /* [3] */
  1226.         "-", noIcon, noKey, noMark, plain,
  1227.         /* [4] */
  1228.         "Close", noIcon, "W", noMark, plain,
  1229.         /* [5] */
  1230.         "Save", noIcon, "S", noMark, plain,
  1231.         /* [6] */
  1232.         "Save As…", noIcon, noKey, noMark, plain,
  1233.         /* [7] */
  1234.         "Revert", noIcon, noKey, noMark, plain,
  1235.         /* [8] */
  1236.         "-", noIcon, noKey, noMark, plain,
  1237.         /* [9] */
  1238.         "Page Setup…", noIcon, noKey, noMark, plain,
  1239.         /* [10] */
  1240.         "Print…", noIcon, "P", noMark, plain,
  1241.         /* [11] */
  1242.         "-", noIcon, noKey, noMark, plain,
  1243.         /* [12] */
  1244.         "Quit", noIcon, "Q", noMark, plain
  1245.     }
  1246. };
  1247.  
  1248. resource 'MENU' (mApple) {
  1249.     128,
  1250.     textMenuProc,
  1251.     0x7FFFFFFD,
  1252.     enabled,
  1253.     apple,
  1254.     {    /* array: 2 elements */
  1255.         /* [1] */
  1256.         "About MenuScripter…", noIcon, noKey, noMark, plain,
  1257.         /* [2] */
  1258.         "-", noIcon, noKey, noMark, plain
  1259.     }
  1260. };
  1261.  
  1262. resource 'MENU' (mFont) {
  1263.     131,
  1264.     textMenuProc,
  1265.     allEnabled,
  1266.     enabled,
  1267.     "Font",
  1268.     {    /* array: 0 elements */
  1269.     }
  1270. };
  1271.  
  1272. resource 'MENU' (mEdit) {
  1273.     130,
  1274.     textMenuProc,
  1275.     0b111101111101,
  1276.     enabled,
  1277.     "Edit",
  1278.     {    /* array: 12 elements */
  1279.         /* [1] */
  1280.         "Undo", noIcon, "Z", noMark, plain,
  1281.         /* [2] */
  1282.         "-", noIcon, noKey, noMark, plain,
  1283.         /* [3] */
  1284.         "Cut", noIcon, "X", noMark, plain,
  1285.         /* [4] */
  1286.         "Copy", noIcon, "C", noMark, plain,
  1287.         /* [5] */
  1288.         "Paste", noIcon, "V", noMark, plain,
  1289.         /* [6] */
  1290.         "Clear", noIcon, "K", noMark, plain,
  1291.         /* [7] */
  1292.         "Select All", noIcon, "A", noMark, plain,
  1293.         /* [8] */
  1294.         "-", noIcon, noKey, noMark, plain,
  1295.         /* [9] */
  1296.         "Create Publisher…", noIcon, noKey, noMark, plain,
  1297.         /* [10] */
  1298.         "Subscribe To…", noIcon, noKey, noMark, plain,
  1299.         /* [11] */
  1300.         "Section Options…", noIcon, noKey, noMark, plain,
  1301.         /* [12] */
  1302.         "Show Borders", noIcon, noKey, noMark, plain,
  1303.     }
  1304. };
  1305.  
  1306. resource 'MENU' (mSize, preload) {
  1307.     132,
  1308.     textMenuProc,
  1309.     allEnabled,
  1310.     enabled,
  1311.     "Size",
  1312.     {    /* array: 10 elements */
  1313.         /* [1] */
  1314.         "8", noIcon, noKey, noMark, plain,
  1315.         /* [2] */
  1316.         "9", noIcon, noKey, noMark, plain,
  1317.         /* [3] */
  1318.         "10", noIcon, noKey, noMark, plain,
  1319.         /* [4] */
  1320.         "12", noIcon, noKey, noMark, plain,
  1321.         /* [5] */
  1322.         "14", noIcon, noKey, noMark, plain,
  1323.         /* [6] */
  1324.         "18", noIcon, noKey, noMark, plain,
  1325.         /* [7] */
  1326.         "24", noIcon, noKey, noMark, plain,
  1327.         /* [8] */
  1328.         "36", noIcon, noKey, noMark, plain,
  1329.         /* [9] */
  1330.         "48", noIcon, noKey, noMark, plain,
  1331.         /* [10] */
  1332.         "-", noIcon, noKey, noMark, plain,
  1333.         /* [11] */
  1334.         "Up", noIcon, "]", noMark, plain,
  1335.         /* [12] */
  1336.         "Down", noIcon, "[", noMark, plain,
  1337.         /* [13] */
  1338.         "-", noIcon, noKey, noMark, plain,
  1339.         /* [14] */
  1340.         "Other…", noIcon, noKey, noMark, plain
  1341.     }
  1342. };
  1343.  
  1344. resource 'MENU' (mStyle, preload) {
  1345.     133,
  1346.     textMenuProc,
  1347.     allEnabled,
  1348.     enabled,
  1349.     "Style",
  1350.     {    /* array: 8 elements */
  1351.         /* [1] */
  1352.         "Plain Text", noIcon, "T", noMark, plain,
  1353.         /* [2] */
  1354.         "Bold", noIcon, "B", noMark, plain,
  1355.         /* [3] */
  1356.         "Italic", noIcon, "I", noMark, plain,
  1357.         /* [4] */
  1358.         "Underline", noIcon, "U", noMark, plain,
  1359.         /* [5] */
  1360.         "Outline", noIcon, noKey, noMark, plain,
  1361.         /* [6] */
  1362.         "Shadow", noIcon, noKey, noMark, plain,
  1363.         /* [7] */
  1364.         "Condense", noIcon, noKey, noMark, plain,
  1365.         /* [8] */
  1366.         "Extend", noIcon, noKey, noMark, plain
  1367.     }
  1368. };
  1369.  
  1370. resource 'MENU' (mScript, preload) {
  1371.     134,
  1372.     textMenuProc,
  1373.     allEnabled,
  1374.     enabled,
  1375.     "Script",
  1376.     {    /* array: 2 elements */
  1377.         /* [1] */
  1378.         "Compile", noIcon, noKey, noMark, plain,
  1379.         /* [2] */
  1380.         "Execute", noIcon, noKey, noMark, plain
  1381.     }
  1382. };
  1383. resource 'STR#' (mScript) {
  1384.     {
  1385. /*  1 */    "Script Handling.",
  1386.  
  1387. /*  2 */    "Checks the sytax of the contents of the frontmost window .",
  1388. /*  3 */    "Checks the sytax of the contents of the frontmost window .",
  1389. /*  4 */    "Checks the sytax of, and executes, the contents in the frontmost window.",
  1390. /*  5 */    "Checks the sytax of, and executes, the contents in the frontmost window."
  1391.     }
  1392. };
  1393.  
  1394. resource 'STR#' (mFile) {
  1395.     {
  1396. /*  1 */    "File Handling items.",
  1397.  
  1398. /*  2 */    "Creates a new file.",
  1399. /*  3 */    "Creates a new file.  To enable this item, choose Close from the File menu.",
  1400. /*  4 */    "Opens an existing file.",
  1401. /*  5 */    "Opens an existing file.  To enable this item, choose Close from the File menu.",
  1402. /*  6 */    "Closes the current file.",
  1403. /*  7 */    "Closes the current file.  A window must be open before this item is enabled.",
  1404. /*  8 */    "Saves the current file.",
  1405. /*  9 */    "Saves the current file.  The window must be titled before this is enabled.",
  1406. /* 10 */    "Saves the current file under a different name.",
  1407. /* 11 */    "Saves the current file under a different name.",
  1408. /* 12 */    "Reverts to the last saved version of the current file.",
  1409. /* 13 */    "Reverts to the last saved version of the current file.  Enabled when you make a change to the file",
  1410. /* 14 */    "Sets up paper size, orientation, and other printing options.",
  1411. /* 15 */    "Sets up paper size, orientation, and other printing options.",
  1412. /* 16 */    "Prints the text to the printer.",
  1413. /* 17 */    "Prints all or part of the current file.  To enable this item, choose New or Open from the File menu.",
  1414. /* 18 */    "Quit from Demo."
  1415.     }
  1416. };
  1417.  
  1418. resource 'hmnu' (mFile, "File") {
  1419.     HelpMgrVersion,                    /* Help Version                            */
  1420.     0,                                /* options                                */
  1421.     0,                                /* theProc                                */
  1422.     0,                                /* variant                                */
  1423.     HMSkipItem {                    /* skip missing msg                        */
  1424.         },
  1425.     {
  1426.         /* File */
  1427.         HMStringResItem {
  1428.             mFile,1,                /* menu title message                    */
  1429.             mFile,1,                /* disabled title message                */
  1430.             mFile,0,                /* reserved message                        */
  1431.             mFile,0                    /* reserved message                        */
  1432.         },
  1433.  
  1434.         /* New */
  1435.         HMStringResItem {
  1436.             mFile,2,                /* menu item message                    */
  1437.             mFile,3,                /* disabled item message                */
  1438.             mFile,0,                /* reserved message                        */
  1439.             mFile,0                    /* reserved message                        */
  1440.         },
  1441.  
  1442.         /* Open */
  1443.         HMStringResItem {
  1444.             mFile,4,                /* menu item message                    */
  1445.             mFile,5,                /* disabled item message                */
  1446.             mFile,0,                /* reserved message                        */
  1447.             mFile,0                    /* reserved message                        */
  1448.         },
  1449.  
  1450.         /* Disabled Line */
  1451.         HMSkipItem {                /* skip missing msg                        */
  1452.         },
  1453.  
  1454.         /* Close */
  1455.         HMStringResItem {
  1456.             mFile,6,                /* menu item message                    */
  1457.             mFile,7,                /* disabled item message                */
  1458.             mFile,0,                /* reserved message                        */
  1459.             mFile,0                    /* reserved message                        */
  1460.         },
  1461.  
  1462.         /* Save */
  1463.         HMStringResItem {
  1464.             mFile,8,                /* menu item message                    */
  1465.             mFile,9,                /* disabled item message                */
  1466.             mFile,0,                /* reserved message                        */
  1467.             mFile,0                    /* reserved message                        */
  1468.         },
  1469.  
  1470.         /* Save As… */
  1471.         HMStringResItem {
  1472.             mFile,10,                /* menu item message                    */
  1473.             mFile,11,                /* disabled item message                */
  1474.             mFile,0,                /* reserved message                        */
  1475.             mFile,0                    /* reserved message                        */
  1476.         },
  1477.  
  1478.         /* Revert */
  1479.         HMStringResItem {
  1480.             mFile,12,                /* menu item message                    */
  1481.             mFile,13,                /* disabled item message                */
  1482.             mFile,0,                /* reserved message                        */
  1483.             mFile,0                    /* reserved message                        */
  1484.         },
  1485.  
  1486.         /* Disabled Line */
  1487.         HMSkipItem {                /* skip missing msg                        */
  1488.         },
  1489.  
  1490.         /* Page Setup… */
  1491.         HMStringResItem {
  1492.             mFile,14,                /* menu item message                    */
  1493.             mFile,15,                /* disabled item message                */
  1494.             mFile,0,                /* reserved message                        */
  1495.             mFile,0                    /* reserved message                        */
  1496.         },
  1497.  
  1498.         /* Print */
  1499.         HMStringResItem {
  1500.             mFile,16,                /* menu item message                    */
  1501.             mFile,17,                /* disabled item message                */
  1502.             mFile,0,                /* reserved message                        */
  1503.             mFile,0                    /* reserved message                        */
  1504.         },
  1505.  
  1506.         /* Disabled Line */
  1507.         HMSkipItem {                /* skip missing msg                        */
  1508.         },
  1509.  
  1510.         /* Quit */
  1511.         HMStringResItem {
  1512.             mFile,18,                /* menu item message                    */
  1513.             mFile,0,                /* disabled item message                */
  1514.             mFile,0,                /* reserved message                        */
  1515.             mFile,0                    /* reserved message                        */
  1516.         }
  1517.     }
  1518. };
  1519.  
  1520. resource 'STR#' (mEdit) {
  1521.     {
  1522. /*  1 */    "Editing Items.",
  1523.  
  1524. /*  2 */    "Restore the document to the state it was before the last action.",
  1525. /*  3 */    "Restore the document to the state it was before the last action. (Not currently implemented)",
  1526. /*  4 */    "Delete the current text selection and copy it to the clipboard.",
  1527. /*  5 */    "Delete the current text selection and copy it to the clipboard. Select some text to enable this item.",
  1528. /*  6 */    "Copy the current text selection to the clipboard.",
  1529. /*  7 */    "Copy the current text selection to the clipboard. Select some text to enable this item.",
  1530. /*  8 */    "Take the text from the clipboard and add it at the current insertion point.",
  1531. /*  9 */    "Take the text from the clipboard and add it at the current insertion point. This item is enabled when there is some text on the clipboard",
  1532. /* 10 */    "Delete the currently selected text.",
  1533. /* 11 */    "Delete the currently selected text.  Select some text to enable this item.",
  1534. /* 12 */    "Select all the text in the document.",
  1535. /* 13 */    "Select all the text in this document.  This item is enabled when a window is open.",
  1536. /* 14 */    "Display the Create Publisher dialog to publish the selected text.",
  1537. /* 15 */    "Publish selected text. Select some text to enable this item.",
  1538. /* 16 */    "Put up the Subscriber dialog Subscribe to a Published section of text.",
  1539. /* 17 */    "Put up the Subscriber dialog Subscribe to a Published section of text.  Enabled when no publisher is selected.",
  1540. /* 18 */    "Display the Section Options dialog for a Publisher or Subscriber.",
  1541. /* 19 */    "Display the Section Options dialog for a Publisher or Subscriber.  Select a Publisher or Subscriber to enable this item.",
  1542. /* 20 */    "Show/Hide the all the Publisher or Subscriber borders"
  1543.     }
  1544. };
  1545.  
  1546.  
  1547.  
  1548. resource 'hmnu' (mEdit, "Edit") {
  1549.     HelpMgrVersion,                    /* Help Version                            */
  1550.     0,                                /* options                                */
  1551.     0,                                /* theProc                                */
  1552.     0,                                /* variant                                */
  1553.     HMSkipItem {                    /* skip missing msg                        */
  1554.         },
  1555.     {
  1556.         /* edit */
  1557.         HMStringResItem {
  1558.             mEdit,1,                /* menu title message                    */
  1559.             mEdit,1,                /* disabled title message                */
  1560.             mEdit,0,                /* reserved message                        */
  1561.             mEdit,0                    /* reserved message                        */
  1562.         },
  1563.  
  1564.         /* Undo */
  1565.         HMStringResItem {
  1566.             mEdit,2,                /* menu item message                    */
  1567.             mEdit,3,                /* disabled item message                */
  1568.             mEdit,0,                /* reserved message                        */
  1569.             mEdit,0                    /* reserved message                        */
  1570.         },
  1571.  
  1572.         /* Disabled Item */
  1573.         HMSkipItem {                /* skip missing msg                        */
  1574.         },
  1575.  
  1576.         /* Cut */
  1577.         HMStringResItem {
  1578.             mEdit,4,                /* menu item message                    */
  1579.             mEdit,5,                /* disabled item message                */
  1580.             mEdit,0,                /* reserved message                        */
  1581.             mEdit,0                    /* reserved message                        */
  1582.         },
  1583.  
  1584.         /* Copy */
  1585.         HMStringResItem {
  1586.             mEdit,6,                /* menu item message                    */
  1587.             mEdit,7,                /* disabled item message                */
  1588.             mEdit,0,                /* reserved message                        */
  1589.             mEdit,0                    /* reserved message                        */
  1590.         },
  1591.  
  1592.         /* Paste */
  1593.         HMStringResItem {
  1594.             mEdit,8,                /* menu item message                    */
  1595.             mEdit,9,                /* disabled item message                */
  1596.             mEdit,0,                /* reserved message                        */
  1597.             mEdit,0                    /* reserved message                        */
  1598.         },
  1599.  
  1600.         /* Clear */
  1601.         HMStringResItem {
  1602.             mEdit,10,                /* menu item message                    */
  1603.             mEdit,11,                /* disabled item message                */
  1604.             mEdit,0,                /* reserved message                        */
  1605.             mEdit,0                    /* reserved message                        */
  1606.         },
  1607.  
  1608.         /* Select All */
  1609.         HMStringResItem {
  1610.             mEdit,12,                /* menu item message                    */
  1611.             mEdit,13,                /* disabled item message                */
  1612.             mEdit,0,                /* reserved message                        */
  1613.             mEdit,0                    /* reserved message                        */
  1614.         },    
  1615.         
  1616.         /* Disabled Line */
  1617.         HMSkipItem {                /* skip missing msg                        */
  1618.         },
  1619.  
  1620.         
  1621.         /* Create Publisher*/
  1622.         HMStringResItem {
  1623.             mEdit,14,                /* menu item message                    */
  1624.             mEdit,15,                /* disabled item message                */
  1625.             mEdit,0,                /* reserved message                        */
  1626.             mEdit,0                    /* reserved message                        */
  1627.         },    
  1628.         
  1629.         /* Subscribe To..*/
  1630.         HMStringResItem {
  1631.             mEdit,16,                /* menu item message                    */
  1632.             mEdit,17,                /* disabled item message                */
  1633.             mEdit,0,                /* reserved message                        */
  1634.             mEdit,0                    /* reserved message                        */
  1635.         },    
  1636.         
  1637.         /* Section Options*/
  1638.         HMStringResItem {
  1639.             mEdit,18,                /* menu item message                    */
  1640.             mEdit,19,                /* disabled item message                */
  1641.             mEdit,0,                /* reserved message                        */
  1642.             mEdit,0                    /* reserved message                        */
  1643.         },    
  1644.         
  1645.         /* Show/Hide borders*/
  1646.         HMStringResItem {
  1647.             mEdit,20,                /* menu item message                    */
  1648.             mEdit,20,                /* disabled item message                */
  1649.             mEdit,0,                /* reserved message                        */
  1650.             mEdit,0                    /* reserved message                        */
  1651.         },    
  1652.    }
  1653. };
  1654.  
  1655. resource 'STR#' (mFont) {
  1656.     {
  1657. /*  1 */    "Change the text font the one you want by selecting that Font from this menu."
  1658.     }
  1659. };
  1660.  
  1661.  
  1662. resource 'hmnu' (mFont, "Font") {
  1663.     HelpMgrVersion,                    /* Help Version                            */
  1664.     0,                                /* options                                */
  1665.     0,                                /* theProc                                */
  1666.     0,                                /* variant                                */
  1667.     HMSkipItem {                    /* skip missing msg                        */
  1668.         },
  1669.     {
  1670.         /* Font */
  1671.         HMStringResItem {
  1672.             mFont,1,                /* menu title message                    */
  1673.             mFont,1,                /* disabled title message                */
  1674.             mFont,0,                /* reserved message                        */
  1675.             mFont,0                    /* reserved message                        */
  1676.         }
  1677.     }
  1678. };
  1679.  
  1680.  
  1681. resource 'STR#' (mSize) {
  1682.     {
  1683. /*  1 */    "Change the size of the text by choosing the new size from this menu.  The size menus are outlined for TrueType fonts."
  1684.     }
  1685. };
  1686.  
  1687.  
  1688. resource 'hmnu' (mSize, "Size") {
  1689.     HelpMgrVersion,                    /* Help Version                            */
  1690.     0,                                /* options                                */
  1691.     0,                                /* theProc                                */
  1692.     0,                                /* variant                                */
  1693.     HMSkipItem {                    /* skip missing msg                        */
  1694.         },
  1695.     {
  1696.         /* Font */
  1697.         HMStringResItem {
  1698.             mSize,1,                /* menu title message                    */
  1699.             mSize,1,                /* disabled title message                */
  1700.             mSize,0,                /* reserved message                        */
  1701.             mSize,0                    /* reserved message                        */
  1702.         }
  1703.     }
  1704. };
  1705.  
  1706. resource 'STR#' (mStyle) {
  1707.     {
  1708. /*  1 */    "Choose the new text style from this menu"
  1709.     }
  1710. };
  1711.  
  1712.  
  1713. resource 'hmnu' (mStyle, "Style") {
  1714.     HelpMgrVersion,                    /* Help Version                            */
  1715.     0,                                /* options                                */
  1716.     0,                                /* theProc                                */
  1717.     0,                                /* variant                                */
  1718.     HMSkipItem {                    /* skip missing msg                        */
  1719.         },
  1720.     {
  1721.         /* Font */
  1722.         HMStringResItem {
  1723.             mStyle,1,                /* menu title message                    */
  1724.             mStyle,1,                /* disabled title message                */
  1725.             mStyle,0,                /* reserved message                        */
  1726.             mStyle,0                    /* reserved message                        */
  1727.         }
  1728.     }
  1729. };
  1730.  
  1731. resource 'hmnu' (mScript, "Script") {
  1732.     HelpMgrVersion,                    /* Help Version                            */
  1733.     0,                                /* options                                */
  1734.     0,                                /* theProc                                */
  1735.     0,                                /* variant                                */
  1736.     HMSkipItem {                    /* skip missing msg                        */
  1737.         },
  1738.     {
  1739.         /* Script */
  1740.         HMStringResItem {
  1741.             mScript,1,                /* menu title message                    */
  1742.             mScript,1,                /* disabled title message                */
  1743.             mScript,0,                /* reserved message                        */
  1744.             mScript,0                    /* reserved message                        */
  1745.         },
  1746.         /* Compile */
  1747.         HMStringResItem {
  1748.             mScript,2,                /* menu title message                    */
  1749.             mScript,3,                /* disabled title message                */
  1750.             mScript,0,                /* reserved message                        */
  1751.             mScript,0                    /* reserved message                        */
  1752.         },
  1753.         /* Execute */
  1754.         HMStringResItem {
  1755.             mScript,4,                /* menu title message                    */
  1756.             mScript,5,                /* disabled title message                */
  1757.             mScript,0,                /* reserved message                        */
  1758.             mScript,0                    /* reserved message                        */
  1759.         },
  1760.     }
  1761. };
  1762.  
  1763. resource 'aete' (0, "MenuScripter Suite") {
  1764.     0x00,
  1765.     0x01,
  1766.     english,
  1767.     roman,
  1768.     {    /* array Suites: 4 elements */
  1769.         /* [1] */
  1770.         "Core Suite",
  1771.         "Suite that applies to all applications",
  1772.         'core',
  1773.         1,
  1774.         1,
  1775.         {    /* array Events: 0 elements */
  1776.         },
  1777.         {    /* array Classes: 2 elements */
  1778.             /* [1] */
  1779.             "Window",
  1780.             'cwin',
  1781.             "A window",
  1782.             {    /* array Properties: 2 elements */
  1783.                 /* [1] */
  1784.                 "position",
  1785.                 'ppos',
  1786.                 'QDpt',
  1787.                 "the position of a window",
  1788.                 reserved,
  1789.                 singleItem,
  1790.                 notEnumerated,
  1791.                 readWrite,
  1792.                 reserved,
  1793.                 reserved,
  1794.                 reserved,
  1795.                 reserved,
  1796.                 reserved,
  1797.                 reserved,
  1798.                 reserved,
  1799.                 reserved,
  1800.                 reserved,
  1801.                 reserved,
  1802.                 reserved,
  1803.                 reserved,
  1804.                 /* [2] */
  1805.                 "Contents",
  1806.                 'pcnt',
  1807.                 typeIntlText,
  1808.                 "The text of the window",
  1809.                 reserved,
  1810.                 singleItem,
  1811.                 notEnumerated,
  1812.                 readWrite,
  1813.                 reserved,
  1814.                 reserved,
  1815.                 reserved,
  1816.                 reserved,
  1817.                 reserved,
  1818.                 reserved,
  1819.                 reserved,
  1820.                 reserved,
  1821.                 reserved,
  1822.                 reserved,
  1823.                 reserved,
  1824.                 reserved,
  1825.                 /* [3] */
  1826.                 "Page Setup",
  1827.                 'PSET',
  1828.                 'TPNT',
  1829.                 "The Page Setup of the window",
  1830.                 reserved,
  1831.                 singleItem,
  1832.                 notEnumerated,
  1833.                 readWrite,
  1834.                 reserved,
  1835.                 reserved,
  1836.                 reserved,
  1837.                 reserved,
  1838.                 reserved,
  1839.                 reserved,
  1840.                 reserved,
  1841.                 reserved,
  1842.                 reserved,
  1843.                 reserved,
  1844.                 reserved,
  1845.                 reserved,
  1846.                 /* [4] */
  1847.                 "Show Borders",
  1848.                 'PBOR',
  1849.                 'cboo',
  1850.                 "The Show Borders of the window",
  1851.                 reserved,
  1852.                 singleItem,
  1853.                 notEnumerated,
  1854.                 readWrite,
  1855.                 reserved,
  1856.                 reserved,
  1857.                 reserved,
  1858.                 reserved,
  1859.                 reserved,
  1860.                 reserved,
  1861.                 reserved,
  1862.                 reserved,
  1863.                 reserved,
  1864.                 reserved,
  1865.                 reserved,
  1866.                 reserved
  1867.             },
  1868.             {    /* array Elements: 4 elements */
  1869.                 /* [1] */
  1870.                 'cha ',
  1871.                 {    /* array KeyForms: 1 elements */
  1872.                     /* [1] */
  1873.                     formAbsolutePosition
  1874.                 },
  1875.                 /* [2] */
  1876.                 'cwor',
  1877.                 {    /* array KeyForms: 1 elements */
  1878.                     /* [1] */
  1879.                     formAbsolutePosition
  1880.                 },
  1881.                 /* [3] */
  1882.                 'clin',
  1883.                 {    /* array KeyForms: 1 elements */
  1884.                     /* [1] */
  1885.                     formAbsolutePosition
  1886.                 },
  1887.                 /* [4] */
  1888.                 'citm',
  1889.                 {    /* array KeyForms: 1 elements */
  1890.                     /* [1] */
  1891.                     formAbsolutePosition
  1892.                 }
  1893.             },
  1894.             /* [2] */
  1895.             "Spot",
  1896.             'cspt',
  1897.             "A position where an insertion point can go",
  1898.             {    /* array Properties: 7 elements */
  1899.                 /* [1] */
  1900.                 "Class",
  1901.                 pClass,
  1902.                 cType,
  1903.                 "The class",
  1904.                 reserved,
  1905.                 singleItem,
  1906.                 notEnumerated,
  1907.                 readOnly,
  1908.                 reserved,
  1909.                 reserved,
  1910.                 reserved,
  1911.                 reserved,
  1912.                 reserved,
  1913.                 reserved,
  1914.                 reserved,
  1915.                 reserved,
  1916.                 reserved,
  1917.                 reserved,
  1918.                 reserved,
  1919.                 reserved,
  1920.                 /* [2] */
  1921.                 "Font",
  1922.                 pFont,
  1923.                 cText,
  1924.                 "The name of the font",
  1925.                 reserved,
  1926.                 singleItem,
  1927.                 notEnumerated,
  1928.                 readWrite,
  1929.                 reserved,
  1930.                 reserved,
  1931.                 reserved,
  1932.                 reserved,
  1933.                 reserved,
  1934.                 reserved,
  1935.                 reserved,
  1936.                 reserved,
  1937.                 reserved,
  1938.                 reserved,
  1939.                 reserved,
  1940.                 reserved,
  1941.                 /* [3] */
  1942.                 "Style",
  1943.                 pTextStyles,
  1944.                 cTextStyles,
  1945.                 "The text style",
  1946.                 reserved,
  1947.                 singleItem,
  1948.                 notEnumerated,
  1949.                 readWrite,
  1950.                 reserved,
  1951.                 reserved,
  1952.                 reserved,
  1953.                 reserved,
  1954.                 reserved,
  1955.                 reserved,
  1956.                 reserved,
  1957.                 reserved,
  1958.                 reserved,
  1959.                 reserved,
  1960.                 reserved,
  1961.                 reserved,
  1962.                 /* [4] */
  1963.                 "Color",
  1964.                 pColor,
  1965.                 cRGBColor,
  1966.                 "The color",
  1967.                 reserved,
  1968.                 singleItem,
  1969.                 notEnumerated,
  1970.                 readWrite,
  1971.                 reserved,
  1972.                 reserved,
  1973.                 reserved,
  1974.                 reserved,
  1975.                 reserved,
  1976.                 reserved,
  1977.                 reserved,
  1978.                 reserved,
  1979.                 reserved,
  1980.                 reserved,
  1981.                 reserved,
  1982.                 reserved,
  1983.                 /* [5] */
  1984.                 "Size",
  1985.                 pPointSize,
  1986.                 cFixed,
  1987.                 "The size in points",
  1988.                 reserved,
  1989.                 singleItem,
  1990.                 notEnumerated,
  1991.                 readWrite,
  1992.                 reserved,
  1993.                 reserved,
  1994.                 reserved,
  1995.                 reserved,
  1996.                 reserved,
  1997.                 reserved,
  1998.                 reserved,
  1999.                 reserved,
  2000.                 reserved,
  2001.                 reserved,
  2002.                 reserved,
  2003.                 reserved,
  2004.                 /* [6] */
  2005.                 "Writing Code",
  2006.                 pScriptTag,
  2007.                 cIntlWritingCode,
  2008.                 "The script system and language",
  2009.                 reserved,
  2010.                 singleItem,
  2011.                 notEnumerated,
  2012.                 readOnly,
  2013.                 reserved,
  2014.                 reserved,
  2015.                 reserved,
  2016.                 reserved,
  2017.                 reserved,
  2018.                 reserved,
  2019.                 reserved,
  2020.                 reserved,
  2021.                 reserved,
  2022.                 reserved,
  2023.                 reserved,
  2024.                 reserved,
  2025.                 /* [7] */
  2026.                 "Width",
  2027.                 'pwid',
  2028.                 'cf16',
  2029.                 "Width of the text in points",
  2030.                 reserved,
  2031.                 singleItem,
  2032.                 notEnumerated,
  2033.                 readOnly,
  2034.                 reserved,
  2035.                 reserved,
  2036.                 reserved,
  2037.                 reserved,
  2038.                 reserved,
  2039.                 reserved,
  2040.                 reserved,
  2041.                 reserved,
  2042.                 reserved,
  2043.                 reserved,
  2044.                 reserved,
  2045.                 reserved
  2046.             },
  2047.             {    /* array Elements: 0 elements */
  2048.             }
  2049.         },
  2050.         {    /* array ComparisonOps: 0 elements */
  2051.         },
  2052.         {    /* array Enumerations: 0 elements */
  2053.         },
  2054.         /* [2] */
  2055.         "Required Suite",
  2056.         "Events that every application should support",
  2057.         'reqd',
  2058.         1,
  2059.         1,
  2060.         {    /* array Events: 1 elements */
  2061.             /* [1] */
  2062.             "Quit",
  2063.             "Perform tasks before termination, then terminate",
  2064.             kCoreEventClass,
  2065.             kAEQuitApplication,
  2066.             noReply,
  2067.             "",
  2068.             replyOptional,
  2069.             singleItem,
  2070.             notEnumerated,
  2071.             reserved,
  2072.             reserved,
  2073.             reserved,
  2074.             reserved,
  2075.             reserved,
  2076.             reserved,
  2077.             reserved,
  2078.             reserved,
  2079.             reserved,
  2080.             reserved,
  2081.             reserved,
  2082.             reserved,
  2083.             reserved,
  2084.             noParams,
  2085.             "",
  2086.             directParamOptional,
  2087.             singleItem,
  2088.             notEnumerated,
  2089.             changesState,
  2090.             reserved,
  2091.             reserved,
  2092.             reserved,
  2093.             reserved,
  2094.             reserved,
  2095.             reserved,
  2096.             reserved,
  2097.             reserved,
  2098.             reserved,
  2099.             reserved,
  2100.             reserved,
  2101.             reserved,
  2102.             {    /* array OtherParams: 0 elements */
  2103.                 /* [1] */
  2104.                 "Save",
  2105.                 keyAESaveOptions,
  2106.                 enumSaveOptions,
  2107.                 "Specifies whether or not to save currently open documents",
  2108.                 optional,
  2109.                 singleItem,
  2110.                 enumerated,
  2111.                 reserved,
  2112.                 reserved,
  2113.                 reserved,
  2114.                 reserved,
  2115.                 reserved,
  2116.                 reserved,
  2117.                 reserved,
  2118.                 reserved,
  2119.                 reserved,
  2120.                 reserved,
  2121.                 reserved,
  2122.                 reserved,
  2123.                 reserved
  2124.             }
  2125.         },
  2126.         {    /* array Classes: 0 elements */
  2127.         },
  2128.         {    /* array ComparisonOps: 0 elements */
  2129.         },
  2130.         {    /* array Enumerations: 0 elements */
  2131.         },
  2132.         /* [3] */
  2133.         "Misc Standard Suite",
  2134.         "",
  2135.         'misc',
  2136.         1,
  2137.         1,
  2138.         {    /* array Events: 1 elements */
  2139.         /* [1] */
  2140.             "copy",
  2141.             "Copy an object to the clipboard",
  2142.             'misc',
  2143.             'copy',
  2144.             noReply,
  2145.             "",
  2146.             replyOptional,
  2147.             singleItem,
  2148.             notEnumerated,
  2149.             reserved,
  2150.             reserved,
  2151.             reserved,
  2152.             reserved,
  2153.             reserved,
  2154.             reserved,
  2155.             reserved,
  2156.             reserved,
  2157.             reserved,
  2158.             reserved,
  2159.             reserved,
  2160.             reserved,
  2161.             reserved,
  2162.             'obj ',
  2163.             "the object to copy to the clipboard",
  2164.             directParamOptional,
  2165.             singleItem,
  2166.             notEnumerated,
  2167.             changesState,
  2168.             reserved,
  2169.             reserved,
  2170.             reserved,
  2171.             reserved,
  2172.             reserved,
  2173.             reserved,
  2174.             reserved,
  2175.             reserved,
  2176.             reserved,
  2177.             reserved,
  2178.             reserved,
  2179.             reserved,
  2180.             {    /* array OtherParams: 0 elements */
  2181.             },
  2182.             /* [2] */
  2183.             "cut",
  2184.             "Cut an object to the clipboard",
  2185.             'misc',
  2186.             'cut ',
  2187.             noReply,
  2188.             "",
  2189.             replyOptional,
  2190.             singleItem,
  2191.             notEnumerated,
  2192.             reserved,
  2193.             reserved,
  2194.             reserved,
  2195.             reserved,
  2196.             reserved,
  2197.             reserved,
  2198.             reserved,
  2199.             reserved,
  2200.             reserved,
  2201.             reserved,
  2202.             reserved,
  2203.             reserved,
  2204.             reserved,
  2205.             'obj ',
  2206.             "the object to cut to the clipboard",
  2207.             directParamOptional,
  2208.             singleItem,
  2209.             notEnumerated,
  2210.             changesState,
  2211.             reserved,
  2212.             reserved,
  2213.             reserved,
  2214.             reserved,
  2215.             reserved,
  2216.             reserved,
  2217.             reserved,
  2218.             reserved,
  2219.             reserved,
  2220.             reserved,
  2221.             reserved,
  2222.             reserved,
  2223.             {    /* array OtherParams: 0 elements */
  2224.             },
  2225.             /* [3] */
  2226.             "paste",
  2227.             "Paste an object from the clipboard",
  2228.             'misc',
  2229.             'past',
  2230.             noReply,
  2231.             "",
  2232.             replyOptional,
  2233.             singleItem,
  2234.             notEnumerated,
  2235.             reserved,
  2236.             reserved,
  2237.             reserved,
  2238.             reserved,
  2239.             reserved,
  2240.             reserved,
  2241.             reserved,
  2242.             reserved,
  2243.             reserved,
  2244.             reserved,
  2245.             reserved,
  2246.             reserved,
  2247.             reserved,
  2248.             noParams,
  2249.             "",
  2250.             directParamOptional,
  2251.             singleItem,
  2252.             notEnumerated,
  2253.             changesState,
  2254.             reserved,
  2255.             reserved,
  2256.             reserved,
  2257.             reserved,
  2258.             reserved,
  2259.             reserved,
  2260.             reserved,
  2261.             reserved,
  2262.             reserved,
  2263.             reserved,
  2264.             reserved,
  2265.             reserved,
  2266.             {    /* array OtherParams: 0 elements */
  2267.             },
  2268.             /* [4] */
  2269.             "create publisher",
  2270.             "Create a publisher",
  2271.             kAEMiscStandards,
  2272.             kAECreatePublisher,
  2273.             noReply,
  2274.             "",
  2275.             replyOptional,
  2276.             singleItem,
  2277.             notEnumerated,
  2278.             reserved, reserved, reserved, reserved, reserved, reserved,
  2279.             reserved, reserved, reserved, reserved, reserved, reserved, reserved,
  2280.             typeObjectSpecifier,
  2281.             "Object to publish",
  2282.             directParamOptional,
  2283.             singleItem,
  2284.             notEnumerated,
  2285.             changesState,
  2286.             reserved, reserved, reserved, reserved, reserved, reserved,
  2287.             reserved, reserved, reserved, reserved, reserved, reserved,
  2288.             {    /* array OtherParams: 1 elements */
  2289.                 /* [1] */
  2290.                 "edition",
  2291.                 keyAEEditionFileLoc,
  2292.                 typeAlias,
  2293.                 "Alias to the edition container file",
  2294.                 optional,
  2295.                 singleItem,
  2296.                 notEnumerated,
  2297.                 reserved,
  2298.                 reserved, reserved, reserved, reserved, reserved, reserved,
  2299.                 reserved, reserved, reserved, reserved, reserved, reserved
  2300.             },
  2301.         /* [5] */
  2302.             "revert",
  2303.             "Restore the object to its last saved state",
  2304.             kAEMiscStandards,
  2305.             kAERevert,
  2306.             noReply,
  2307.             "",
  2308.             replyOptional,
  2309.             singleItem,
  2310.             notEnumerated,
  2311.             reserved, reserved, reserved, reserved, reserved, reserved,
  2312.             reserved, reserved, reserved, reserved, reserved, reserved, reserved,
  2313.             typeObjectSpecifier,
  2314.             "The object to revert",
  2315.             directParamRequired,
  2316.             singleItem,
  2317.             notEnumerated,
  2318.             changesState,
  2319.             reserved, reserved, reserved, reserved, reserved, reserved,
  2320.             reserved, reserved, reserved, reserved, reserved, reserved,
  2321.             {    /* array OtherParams: 0 elements */
  2322.             },
  2323.          /* [6] */
  2324.             "Show",
  2325.             "Bring an object into view",
  2326.             kAEMiscStandards,
  2327.             kAEMakeObjectsVisible,
  2328.             noReply,
  2329.             "",
  2330.             replyRequired,
  2331.             singleItem,
  2332.             notEnumerated,
  2333.             reserved,
  2334.             reserved,
  2335.             reserved,
  2336.             reserved,
  2337.             reserved,
  2338.             reserved,
  2339.             reserved,
  2340.             reserved,
  2341.             reserved,
  2342.             reserved,
  2343.             reserved,
  2344.             reserved,
  2345.             reserved,
  2346.             'obj ',
  2347.             "",
  2348.             directParamOptional,
  2349.             singleItem,
  2350.             notEnumerated,
  2351.             changesState,
  2352.             reserved,
  2353.             reserved,
  2354.             reserved,
  2355.             reserved,
  2356.             reserved,
  2357.             reserved,
  2358.             reserved,
  2359.             reserved,
  2360.             reserved,
  2361.             reserved,
  2362.             reserved,
  2363.             reserved,
  2364.             {    /* array OtherParams: 0 elements */
  2365.             }
  2366.         },
  2367.         {            /* [1] */
  2368.             "Menu Item",
  2369.             'cmen',
  2370.             "A menu item",
  2371.             {    /* array Properties: 2 elements */
  2372.                 /* [1] */
  2373.                 "Name",
  2374.                 'pnam',
  2375.                 ctext,
  2376.                 "Name of the menu item",
  2377.                 reserved,
  2378.                 singleItem,
  2379.                 notEnumerated,
  2380.                 readOnly,
  2381.                 reserved,
  2382.                 reserved,
  2383.                 reserved,
  2384.                 reserved,
  2385.                 reserved,
  2386.                 reserved,
  2387.                 reserved,
  2388.                 reserved,
  2389.                 reserved,
  2390.                 reserved,
  2391.                 reserved,
  2392.                 reserved,
  2393.                 /* [2] */
  2394.                 "Item Number",
  2395.                 'itmn',
  2396.                 'shor',
  2397.                 "The menu item number",
  2398.                 reserved,
  2399.                 singleItem,
  2400.                 notEnumerated,
  2401.                 readOnly,
  2402.                 reserved,
  2403.                 reserved,
  2404.                 reserved,
  2405.                 reserved,
  2406.                 reserved,
  2407.                 reserved,
  2408.                 reserved,
  2409.                 reserved,
  2410.                 reserved,
  2411.                 reserved,
  2412.                 reserved,
  2413.                 reserved
  2414.             },
  2415.             {    /* array Elements: 0 elements */
  2416.             },
  2417.             /* [2] */
  2418.             "Menu",
  2419.             cMenu,
  2420.             "A menu",
  2421.             {    /* array Properties: 1 elements */
  2422.                 /* [1] */
  2423.                 "Active Item",
  2424.                 'PACT',
  2425.                 cShortInteger,
  2426.                 "The current item number active",
  2427.                 reserved,
  2428.                 singleItem,
  2429.                 notEnumerated,
  2430.                 readOnly,
  2431.                 reserved,
  2432.                 reserved,
  2433.                 reserved,
  2434.                 reserved,
  2435.                 reserved,
  2436.                 reserved,
  2437.                 reserved,
  2438.                 reserved,
  2439.                 reserved,
  2440.                 reserved,
  2441.                 reserved,
  2442.                 reserved,
  2443.             },
  2444.             {    /* array Elements: 1 elements */
  2445.               'cmen',
  2446.                 { /* keyForms */
  2447.                     formAbsolutePosition
  2448.                 },
  2449.             },
  2450.         },
  2451.         {    /* array ComparisonOps: 0 elements */
  2452.         },
  2453.         {    /* array Enumerations: 0 elements */
  2454.         },
  2455.         /* [4] */
  2456.         "Text Suite",
  2457.         "A set of basic classes for text processing",
  2458.         'TEXT',
  2459.         1,
  2460.         1,
  2461.         {   /* array Events: 0 elements */
  2462.         },
  2463.         {    /* array Classes: 0 elements */
  2464.         },
  2465.         {    /* array ComparisonOps: 0 elements */
  2466.         },
  2467.         {    /* array Enumerations: 0 elements */
  2468.         }
  2469.     }
  2470. };
  2471.  
  2472.